package com.dapeis.tx.sms;

import com.ag.module.common.api.service.text.base.AbstractDicText;
import com.ag.utils.MessageFormatter;

public class SMSNoticeText extends AbstractDicText {
    
    String verifyCode;

    public SMSNoticeText(String verifyCode) {
	this.verifyCode = verifyCode;
    }

    @Override
    public String title() {
	// 推送消息
	return getTitleTpmlWithDefault("短信");
    }

    @Override
    public String content() {
	String contentTmpl = getContentTmplWithDefault("【搭配师】您的验证码是:{}");
	return MessageFormatter.arrayFormat(contentTmpl,
		new Object[] { verifyCode });
    }
}
